package com.anp.business.common;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author yicky zhang
 * @create 2018-09-13 上午10:08
 * @desc
 **/
@Configuration
@ConfigurationProperties(prefix = "quartz")
@PropertySource(value = "classpath:quartz.properties")
public class QuartzConfig {

    private String cron;
    private Integer limit;

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
